<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>{$title}</h2>
    </div>
    <div style="">
        <span style="display: inline-block;margin-bottom: 8px;font-size: 16px;">搜索次数：</span>
        <span style="display: inline-block;margin-bottom: 8px;font-size: 16px;">{$bathroom_word.search_times|default='0'}</span>
        <span style="display: inline-block;margin-bottom: 8px;font-size: 18px;margin-left: 50px;">是否置顶：</span>
        <if condition='$bathroom_word.top eq 1'>
            <span style="display: inline-block;margin-bottom: 8px;font-size: 18px;">是</span>
            <else />
            <span style="display: inline-block;margin-bottom: 8px;font-size: 18px;">否</span>
        </if>
    </div>
    <form action="" id="form" method="post" enctype="multipart/form-data" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">展示图<span class="check-tips"></span></label>
            <p><img src="{$bathroom_word.banner_img_url}" width="355px" height="200px" /></p>
        </div>
        <div class="form-item">
            <label class="item-label">简述<span class="check-tips"></span></label>
            <div class="controls">
                <label class="textarea input-large">
                    {$bathroom_word.title}
                </label>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">内容<span class="check-tips"></span></label>
            <div class="controls">
                <label class="textarea">
                    {$bathroom_word.content}
                </label>
            </div>
        </div>
        <div class="form-item">
            <!--<input class="btn submit-btn" type="submit" value="确 定"/>-->
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
    <php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
    <link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
    <!-- 引入CSS、JS开始 -->

    <!-- 引入CSS、JS结束 -->
    <script type="text/javascript">
        /* 当前子菜单栏高亮 */
        highlight_subnav('{:U('Clean/bathroom_word')}');

    </script>
</block>